package com.woniuxy.provider.student.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.common.entity.Student;

import java.util.List;

/**
 * @Author: linKe
 * @Date: 2022/1/19 15:11
 * @FileName: StudentService
 * @version: 1.0
 * @Description: 描述
 */
public interface StudentService extends IService<Student> {

    /**
     * 根据id查询学生对象
     *
     * @param id id值
     * @return 结果
     */
    Student getStudent(int id);

    /**
     * 更新学生对象
     * @return  结果
     */
    int updateStudent(Student student);

    int addStudent(Student student);

    List<Student> getStudentList();

    int deleteStudent(int id);
}
